





<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>top</title>
<script src="inc/common.js"></script>
<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/jquery-migrate-1.2.1.min.js"></script>
<script>
var now=new Date();
var yy=now.getYear();
if (!isIE() || isIE9)
	yy = 1900 + yy;
var MM=now.getMonth()+1;
var dd=now.getDate();
var DD=now.getDay();
var x = new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六");
var date = yy+"年"+MM+"月"+dd+"日"+"  "+x[DD]+"  ";//+"<img src=\"skin/sea/images/OAimg04.gif\" />";
function refreshCalendarClock(){
	var now=new Date();
	var hh=now.getHours();
	var mm=now.getMinutes();
	var ss=now.getTime()%60000;
	ss=(ss-(ss%1000))/1000;
	if(hh<10)hh="0"+hh;
	if(mm<10)mm="0"+mm;
	if(ss<10)ss="0"+ss;
	// $("tdTime").innerHTML=date+hh+":"+mm+":"+ss;
	$("#spanDate").html(date);
	$("#spanTime").html(hh+":"+mm+":"+ss);
}
function init() {
	window.setInterval('refreshCalendarClock()',1000);
}

function exit() {
	// window.top.location.href = "exit_oa.jsp";
}
</script>
</head>
<body onload="init()" onunload="exit()">

<div id="top">
	<div id="topLeft"></div>
	<div id="topMiddle"></div>
<div id="topRight">
	  <table border="0" cellpadding="0" cellspacing="0">
	    <tr>
		  <td colspan="5" height="5"></td>
	    </tr>
	    <tr>
		  <td class="tdMenu">&nbsp;</td>
		  <td class="tdMenu">
		  
          </td>
		  <td class="tdMenu"><a canRepeat="false" href="desktop.jsp" target="mainFrame">桌面</a></td>
		  <td class="tdMenu"><a canRepeat="false" title="控制面板" href="user/control_panel.jsp" target="mainFrame">配置</a></td>
		  <td class="tdMenu"><a href="logout" target="_top" onclick="if(!confirm('您确定要退出吗？')) return false">退出</a></td>
		</tr>
		<tr>
		  <td colspan="5" id="tdTime" class="tdTime"><span id="spanDate"></span><span id="spanTime"></span></td>
	    </tr>
	  </table>
	</div>
</div>
<div id="portalBox" style="position:absolute">

	<div style="width:60px; height:30px; background-repeat:no-repeat; float:left; padding-top:8px; padding-left:10px"><a canRepeat="false" href="desktop.jsp?portalId=176" target="mainFrame">办公门户</a></div>
	
	<div style="width:60px; height:30px; background-repeat:no-repeat; float:left; padding-top:8px; padding-left:10px"><a canRepeat="false" href="desktop.jsp?portalId=177" target="mainFrame">知识门户</a></div>
	
</div>
</body>
<script>
$(document).ready(function() {
	$("#portalBox").css({position: "absolute", 'top':$("#tdTime").offset().top-7, 'left':$("#tdTime").offset().left - $("#portalBox").width()});
});
</script>
</html>